package aor2.cpu.blockcontrol.horizontal;

import aor2.cpu.blockcontrol.MicroInstruction;

public class Test4 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// MicroInst2LoaderParser p = new MicroInst2LoaderParser();
		System.out.println("============ sa jednim tipom ============");

		MMHorizontalType1 uMem = MMHorizontalType1.getInstance();
		MicroInstruction uInstr;
		for (long step = 0; step < 194; step++) {
			uInstr = uMem.getMicroInstruction(step);
			System.out.println(uInstr);
		}

		System.out.println("============ sa dva tipa ============");

		MMHorizontalType2 uMem2 = MMHorizontalType2.getInstance();
		MicroInstruction uInstr2;
		for (long step = 0; step < 251; step++) {
			uInstr2 = uMem2.getMicroInstruction(step);
			System.out.println(uInstr2);
		}

	}

}
